package totask.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import totask.pojo.UserInfo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户信息表")
public class LoginInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "用户名不能为空！")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @NotBlank(message = "用户名密码不能为空！")
    @ApiModelProperty(value = "用户密码")
    private String passWord;
}
